﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MsgreplySum.aspx.cs" Inherits="ZX.WebApp.Extend.MsgreplySum" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title><style type="text/css">
                       html, body { margin: 0; padding: 0; background-color: #F2F8FF; }
                       
                       #container { width: 100%; margin: 0 auto; font-family: Arial,Helvetica,sans-serif; font-size: 12px; }
                       
                       #header { font-size: 14px; padding: 10px; background-color:#C2D8EF}
                       #header .title{ font-weight:bold;}
                       #header table { border-collapse: collapse; margin:10px 0 0 0; }
                       #header table tr { }
                       #header table tr th { font-weight:100; text-align: left;}
                       #header table tr td { }
                       
                       
                       .submit { height: 25px; width: 80px; line-height: 25px; background-color: #F0F0F0; border: 1px solid #d4dbe2; font-size:14px; }
                       /*规则1*/
                       #center table.tabRuleBase { border-collapse: collapse; width: 100%; }
                       #center table.tabRuleBase tr { }
                       #center table.tabRuleBase tr th, #center table.tabRuleBase tr td { border: 1px solid #d4dbe2; }
                       #center table.tabRuleBase tr th { font-weight: 100;text-align: right; vertical-align: middle; text-align:center;}
                       #center table.tabRuleBase tr td { padding: 5px 0; text-indent: 5px; text-align:left; }
                   </style>
    <script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div id="header">
            <div class="title">
                默认当前月份的反馈记录统计</div>
            <table>
                <tr>
                    <th>开始时间：</th>
                    <td>
                        <asp:TextBox ID="TextBox1" runat="server" class="Wdate" onFocus="WdatePicker({isShowWeek:true,onpicked:function() {$dp.$('d122_1').value=$dp.cal.getP('W','W');$dp.$('d122_2').value=$dp.cal.getP('W','WW');}})"></asp:TextBox>
                    </td>
                    <th>结束时间：</th>
                    <td>
                        <asp:TextBox ID="TextBox2" runat="server" class="Wdate" onFocus="WdatePicker({isShowWeek:true,onpicked:function() {$dp.$('d122_1').value=$dp.cal.getP('W','W');$dp.$('d122_2').value=$dp.cal.getP('W','WW');}})"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="查询" CssClass="submit" OnClick="Button1_Click" />
                    </td>
                </tr>
            </table>
        </div>
        <div id="center">
            <table class="tabRuleBase">
                <tr style="display:none">
                    <th>提交人</th>
                    <th>部门</th>
                    <th>职位</th>
                    <th>提交数量</th>
                </tr>
                <asp:Repeater ID="Repeater1" runat="server"><ItemTemplate>
                    <tr>
                        <td style=" width:10%;"><%#Eval("UserName") %></td>
                        <td style=" width:10%;"><%#Eval("ShortDeptName")%></td>
                        <td style=" width:20%;"><%#Eval("zw") %></td>
                        <td style=" width:%;"><%#Eval("cx").ToString() == "0" ? "<span style='color:red'>" + Eval("cx") + "</span>" : ""%></td>
                    </tr>
                </ItemTemplate></asp:Repeater>
            </table>
        </div>
    </div>
    </form>
</body>
</html>
